<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>继承</title>
    <style>
        /* 继承是为了方便我们开发 */
        p {
            color: red;
        }
    </style>
</head>

<body>
    <!-- 继承只会发生在后代身上 -->
    <p>
        P
        <span>Span
            <em>EM</em>
        </span>
    </p>
</body>

</html>